<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<%--base标记--%>
	<base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}">
	<!-- Error CSS -->
	<link href="assets/lib/css/login.css" rel="stylesheet" media="screen">

	<!-- Animate CSS -->
	<link href="assets/lib/css/animate.css" rel="stylesheet" media="screen">

	<!-- Font Awesome -->
	<link href="assets/lib/fonts/font-awesome.min.css" rel="stylesheet">
<title>Insert title here</title>
</head>
<body>
<form action="/user/login" method="post" id="wrapper">
	<div id="box" class="animated bounceIn">
		<div id="top_header">
			<a href="#">
				<img class="logo" src="assets/lib/img/logo.png" alt="logo">
			</a>
			<h5>
				请使用用户名或者手机号码登录
			</h5>
		</div>
		<di id="inputs">
			<div class="form-control">
				<input type="text" name="username"  placeholder="请输入用户名或手机号">
				<i class="fa fa-envelope-o"></i>
			</div>
			<div class="form-control">
				<input type="password" name="userpwd" placeholder="请输入密码">
				<i class="fa fa-key"></i>
			</div>
			<input type="submit" value="登录">
		</di>

		<c:if test="${not empty msg}">
			<div style="color:red">
					${msg}
			</div>
		</c:if>

	</div>

</form>

</body>
</html>